{% extends "base/base.html" %}
{% block content %}
    <h1>hahahahahahaa</h1>
    <div class="btn btn-success btn-sm create-btn">创建</div>
{% endblock %}
{% block js %}
    <script>
        $(".create-btn").on("click", function () {
            console.log("asdasdadsasdasdsa")
            ui.box({
                remote:{% url 'mainhostlist' %}
            })
        })
    </script>
{% endblock %}